//
//  KnowCell.m
//  EMMApp
//
//  Created by Mac on 16/5/11.
//  Copyright © 2016年 YiXun. All rights reserved.
//

#import "KnowCell.h"

@implementation KnowCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _knowView.backgroundColor = [UIColor whiteColor];
    _knowView.layer.masksToBounds = YES;
    _knowView.layer.cornerRadius = 5;
    _knowView.layer.borderWidth = 1;
    _knowView.layer.borderColor = [[UIColor lightGrayColor] CGColor];
    
    
    _statusLabel.layer.masksToBounds =YES;
    _statusLabel.layer.cornerRadius = 10;
    _statusLabel.textColor =[UIColor whiteColor];
}

-(void)setSubscribeHouses:(NSString *)subscribeHouses{
    NSString *statusStr =[NSString stringWithFormat:@"  %@  ",subscribeHouses];
    _statusLabel.text = statusStr;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
